export interface CaptchaResult {
  imageCode: string;
  id: string;
}

//登录请求数据
export interface LoginData {
  /** 用户名 */
  username: string;
  /** 密码 */
  pwd: string;
  /** 验证码缓存key */
  verifyCodeId: string;
  /** 验证码 */
  verifyCode: string;
}

//登录后返回数据
export interface LoginResult {
  model: LoginResultModel;
  token: string;
}
export interface LoginResultModel {
  id?: number;
  companyId?: number;
  level?: number;
  staffId?: number;
  name?: string;
  pwd?: string;
  newPwd?: string;
  type?: number;
  enable?: number;
  photo?: string;
  mobile?: string;
  username?: string;
  outLogs?: string;
  verifyCode?: string;
  verifyCodeId?: string;
}
